package com.onpositive.notes.android.main;

import com.onpositive.notes.android.ui.elements.AllThingsUI;
import com.onpositive.notes.android.ui.elements.CollectionsListUI;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class CollectionsActivity extends Activity {

	AllThingsUI ui ;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		ui = new AllThingsUI() ;
		View view = ui.createView(this) ; 
		setContentView(view);	
	}
	
	@Override
	public void onActivityResult(int requestCode, int resultCode, Intent data) {
		if(ui != null)
			ui.onActivityResult(requestCode, resultCode, data) ;
	}

}
